CHR3RSEL=B10, CHR2GN=UNITY, CHR3WCIEN=DISABLED, CHR3RPT=ACC1, CHR3GN=UNITY, CHR2RPT=ACC1, CHR2RSEL=B10, CHR2WCIEN=DISABLED
Conversion Characteristic 2 and 3 Setup
CHR2GN | Conversion Characteristic 2 Gain. 0 (UNITY): The on-chip PGA gain is 1. 1 (HALF): The on-chip PGA gain is 0.5. |
CHR2RPT | Conversion Characteristic 2 Repeat Counter. 0 (ACC1): Accumulate one sample. 1 (ACC4): Accumulate four samples. 2 (ACC8): Accumulate eight samples. 3 (ACC16): Accumulate sixteen samples. 4 (ACC32): Accumulate thirty-two samples (10-bit mode only). 5 (ACC64): Accumulate sixty-four samples (10-bit mode only). |
CHR2LS | Conversion Characteristic 2 Left-Shift Bits. |
CHR2RSEL | Conversion Characteristic 2 Resolution Selection. 0 (B10): Select 10-bit Mode. 1 (B12): Select 12-bit Mode (burst mode must be enabled). |
CHR2WCIEN | Conversion Characteristic 2 Window Comparator Interrupt Enable. 0 (DISABLED): Disable window comparison interrupts. 1 (ENABLED): Enabled window comparison interrupts. The window comparator will be used to check the ADC result on channels that use this characteristic. |
CHR3GN | Conversion Characteristic 3 Gain. 0 (UNITY): The on-chip PGA gain is 1. 1 (HALF): The on-chip PGA gain is 0.5. |
CHR3RPT | Conversion Characteristic 3 Repeat Counter. 0 (ACC1): Accumulate one sample. 1 (ACC4): Accumulate four samples. 2 (ACC8): Accumulate eight samples. 3 (ACC16): Accumulate sixteen samples. 4 (ACC32): Accumulate thirty-two samples (10-bit mode only). 5 (ACC64): Accumulate sixty-four samples (10-bit mode only). |
CHR3LS | Conversion Characteristic 3 Left-Shift Bits. |
CHR3RSEL | Conversion Characteristic 3 Resolution Selection. 0 (B10): Select 10-bit Mode. 1 (B12): Select 12-bit Mode (burst mode must be enabled). |
CHR3WCIEN | Conversion Characteristic 3 Window Comparator Interrupt Enable. 0 (DISABLED): Disable window comparison interrupts. 1 (ENABLED): Enabled window comparison interrupts. The window comparator will be used to check the ADC result on channels that use this characteristic. |